package org.su.generalmvc.entity;

import java.io.InputStream;

/**
 * 文件实体，主要用于接收表单传递上来的文件数据
 * @author yangchuan
 * @CreateTime 2010-8-12 下午03:53:18
 *
 */
public class FormFile {

	private String name;
	private InputStream inputStream;
	private long size;
	private String contentType;
	
	
	public String getContentType(){
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public InputStream getInputStream() {
		return inputStream;
	}

	public void setInputStream(InputStream inputStream) {
		this.inputStream = inputStream;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}


	


}
